package com.lzh.edu.client;

import com.lzh.commonutils.CommonResult;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 服务调用的降级机制
 */
@Component
public class VodFileFeignClient implements VodClient{

    @Override
    public CommonResult removeVideo(String videoId) {
        return CommonResult.error().message("time out");
    }

    @Override
    public CommonResult removeBatchVideo(List<String> videoList) {
        return CommonResult.error().message("time out");
    }
}
